---
layout: "default"
title: "FloatingPointClassification"
description: "Swift documentation for 'FloatingPointClassification': The IEEE 754 floating-point classes."
keywords: "FloatingPointClassification,enum,swift,documentation"
root: "/v3.0"
---

<div class="intro-declaration"><code class="language-swift">enum FloatingPointClassification</code></div>

<div class="discussion comment">
    <p>The IEEE 754 floating-point classes.</p>
</div>

<table class="standard">



<tr>
<th>Import</th>
<td><code class="language-swift">import Swift</code></td>
</tr>

</table>

<h3 id="cases">Cases</h3>
<div class="declaration" id="case-signalingNaN">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-signalingNaN">case signalingNaN</a>
<div class="comment collapse" id="comment-case-signalingNaN"><div class="p">
    <p>A signaling NaN (&quot;not a number&quot;).</p>

<p>A signaling NaN sets the floating-point exception status when used in
many floating-point operations.</p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>
<div class="declaration" id="case-quietNaN">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-quietNaN">case quietNaN</a>
<div class="comment collapse" id="comment-case-quietNaN"><div class="p">
    <p>A silent NaN (&quot;not a number&quot;) value.</p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>
<div class="declaration" id="case-negativeInfinity">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-negativeInfinity">case negativeInfinity</a>
<div class="comment collapse" id="comment-case-negativeInfinity"><div class="p">
    <p>A value equal to <code>-infinity</code>.</p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>
<div class="declaration" id="case-negativeNormal">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-negativeNormal">case negativeNormal</a>
<div class="comment collapse" id="comment-case-negativeNormal"><div class="p">
    <p>A negative value that uses the full precision of the floating-point type.</p>

<p><strong>See Also:</strong> <code>FloatingPoint.isNormal</code></p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>
<div class="declaration" id="case-negativeSubnormal">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-negativeSubnormal">case negativeSubnormal</a>
<div class="comment collapse" id="comment-case-negativeSubnormal"><div class="p">
    <p>A negative, nonzero number that does not use the full precision of the
floating-point type.</p>

<p><strong>See Also:</strong> <code>FloatingPoint.isSubnormal</code></p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>
<div class="declaration" id="case-negativeZero">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-negativeZero">case negativeZero</a>
<div class="comment collapse" id="comment-case-negativeZero"><div class="p">
    <p>A value equal to zero with a negative sign.</p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>
<div class="declaration" id="case-positiveZero">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-positiveZero">case positiveZero</a>
<div class="comment collapse" id="comment-case-positiveZero"><div class="p">
    <p>A value equal to zero with a positive sign.</p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>
<div class="declaration" id="case-positiveSubnormal">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-positiveSubnormal">case positiveSubnormal</a>
<div class="comment collapse" id="comment-case-positiveSubnormal"><div class="p">
    <p>A positive, nonzero number that does not use the full precision of the
floating-point type.</p>

<p><strong>See Also:</strong> <code>FloatingPoint.isSubnormal</code></p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>
<div class="declaration" id="case-positiveNormal">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-positiveNormal">case positiveNormal</a>
<div class="comment collapse" id="comment-case-positiveNormal"><div class="p">
    <p>A positive value that uses the full precision of the floating-point type.</p>

<p><strong>See Also:</strong> <code>FloatingPoint.isNormal</code></p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>
<div class="declaration" id="case-positiveInfinity">
<a class="toggle-link" data-toggle="collapse" href="#comment-case-positiveInfinity">case positiveInfinity</a>
<div class="comment collapse" id="comment-case-positiveInfinity"><div class="p">
    <p>A value equal to <code>+infinity</code>.</p>

    <h4>Declaration</h4>    
    <code class="language-swift"></code>
</div></div>
</div>








